package com.zwj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwj
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("student")
@ApiModel(value="StudentEntity对象", description="")
public class StudentEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "学生主键")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    @ApiModelProperty(value = "学生姓名")
    @TableField("stud_name")
    private String studName;

    @ApiModelProperty(value = "学生性别，0男，1女")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "学生年级")
    @TableField("grade")
    private Integer grade;

    @ApiModelProperty(value = "是否删除,0:否 1:是")
    @TableField("isDeleted")
    private String isDeleted;


}
